<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label for="c-companyname" class="control-label col-xs-12 col-sm-2">{:__('Companyname')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-companyname" data-rule="required" class="form-control" name="row[companyname]" type="text" value="{$row.companyname}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-industry" class="control-label col-xs-12 col-sm-2">{:__('Industry')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-industry" class="form-control" name="row[industry]" type="text" value="{$row.industry}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-remark" class="control-label col-xs-12 col-sm-2">{:__('Remark')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-remark" class="form-control" name="row[remark]" type="text" value="{$row.remark}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-telphone" class="control-label col-xs-12 col-sm-2">{:__('Telphone')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-telphone" class="form-control" name="row[telphone]" type="text" value="{$row.telphone}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-mobile" class="control-label col-xs-12 col-sm-2">{:__('Mobile')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-mobile" class="form-control" name="row[mobile]" type="text" value="{$row.mobile}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-credit_code" class="control-label col-xs-12 col-sm-2">{:__('Creditcode')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-credit_code" class="form-control" name="row[credit_code]" type="text" value="{$row.credit_code}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-registered_capital" class="control-label col-xs-12 col-sm-2">{:__('Registered_Capital')}</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-registered_capital" class="form-control" name="row[registered_capital]" type="text" value="{$row.registered_capital}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-deposit_bank" class="control-label col-xs-12 col-sm-2">{:__('Depositbank')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-deposit_bank" class="form-control" name="row[deposit_bank]" type="text" value="{$row.deposit_bank}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-bank_account" class="control-label col-xs-12 col-sm-2">{:__('Bankaccount')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-bank_account" class="form-control" name="row[bank_account]" type="text" value="{$row.bank_account}">
        </div>
    </div>
    <input name="row[companytype]" type="hidden" value="2">
    <div class="form-group">
        <label for="c-community_code" class="control-label col-xs-12 col-sm-2">{:__('Community_code')}:</label>
        <div class="col-xs-12 col-sm-8">

            <select id="community_code" data-rule="required" class="form-control selectpicker show-tick" name="row[community_code]" data-live-search="true" value="{$row.community_code}">

                {foreach name="community" item="vo"}

                <option value="{$vo.code}" {in name="vo.code" value="$row.community_code" }selected{/in}>{$vo.name}
                    </option> {/foreach} </select> </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>

</form>